home *** CD-ROM | disk | FTP | other *** search
/ Champak 109 / Vol 109.iso / games / eggs_and.swf / scripts / DefineSprite_112 / frame_2 / DoAction.as
Text File  |  2008-11-12  |  784b  |  39 lines

  1. if(this.hitTest(_root.borningarea))
  2. {
  3.    status = 1;
  4.    _root.nowbb = _root.nowbb + 1;
  5.    _root.testvar = "Σ╕èΣ║åτì▓∩╝ü";
  6.    if(face.face == 2)
  7.    {
  8.       thiseggface = 4;
  9.    }
  10.    else
  11.    {
  12.       thiseggface = random(4);
  13.    }
  14.    gotoAndStop("borning1");
  15.    smoke.play();
  16. }
  17. else if(this._y < 160)
  18. {
  19.    _root.nowmeat--;
  20.    _root.notgood.gotoAndPlay(1);
  21.    removeMovieClip(this);
  22.    if(_root.nowmeat == 0 and _root.nowmix > _root.mix)
  23.    {
  24.       _root.nowmix = 0;
  25.       _root.nowbb = 0;
  26.       _root.testvar = "Σ╕ïΣ╕Çτ┤Ü";
  27.       _root.gotoAndStop("next");
  28.    }
  29.    else if(_root.nowmeat == 0 and _root.nowmix < _root.mix)
  30.    {
  31.       _root.gotoAndStop("end");
  32.       _root.endmessage = "σ«óΣ║║Φó½µ░úσ╛ùΦ╡░Σ║å∩╝ü";
  33.    }
  34. }
  35. else
  36. {
  37.    gotoAndStop("new");
  38. }
  39.